From 7732dc85d51d809e88bf6a9bbc65e4fd3e6d8302 Mon Sep 17 00:00:00 2001 From: robertlipe Date: Fri, 23 Aug 2013 03:57:59 +0000 Subject: [PATCH] Drop dead uuid code. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4557 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/Makefile.in | 3 +-- gpsbabel/uuid.cc | 37 ------------------------------------- 2 files changed, 1 insertion(+), 39 deletions(-) delete mode 100644 gpsbabel/uuid.cc diff --git a/gpsbabel/Makefile.in b/gpsbabel/Makefile.in index e9ba7aaff..283020707 100644 --- a/gpsbabel/Makefile.in +++ b/gpsbabel/Makefile.in @@ -110,7 +110,7 @@ ZLIB=zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/inffast.o \ LIBOBJS = queue.o route.o waypt.o filter_vecs.o util.o vecs.o mkshort.o \ csv_util.o strptime.o grtcirc.o vmem.o util_crc.o xmlgeneric.o \ - uuid.o formspec.o xmltag.o cet.o cet_util.o fatal.o rgbcolors.o \ + formspec.o xmltag.o cet.o cet_util.o fatal.o rgbcolors.o \ inifile.o garmin_fs.o gbsleep.o units.o @GBSER@ gbser.o \ gbfile.o parse.o session.o \ $(PALM_DB) $(GARMIN) $(JEEPS) $(SHAPE) @ZLIB@ $(FMTS) $(FILTERS) @@ -1046,7 +1046,6 @@ util.o: util.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h gbfile.h \ jeeps/gpsprot.h jeeps/gpscom.h jeeps/gpsfmt.h jeeps/gpsmem.h \ jeeps/gpsrqst.h jeeps/gpsinput.h jeeps/gpsproj.h util_crc.o: util_crc.cc -uuid.o: uuid.cc uuid.h v900.o: v900.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h gbfile.h \ cet.h cet_util.h inifile.h session.h src/core/datetime.h vcf.o: vcf.cc defs.h config.h queue.h zlib/zlib.h zlib/zconf.h gbfile.h \ diff --git a/gpsbabel/uuid.cc b/gpsbabel/uuid.cc deleted file mode 100644 index d4c01c629..000000000 --- a/gpsbabel/uuid.cc +++ /dev/null @@ -1,37 +0,0 @@ -/* - Copyright (C) 2004 Justin Broughton, justinbr@earthlink.net - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 USA - - */ - -#include "uuid.h" -#include - -void -gb_uuid_generate(uuid_t uu) -{ - unsigned char* cp; - int i; - for (cp = uu, i = 0; i < 16; i++) { - if (getenv("GPSBABEL_FREEZE_TIME")) { - static unsigned char blech = 0; - *cp++ = blech++; - } else { - *cp++ ^= (rand() >> 7) & 0xFF; - } - } -} - -- 2.30.2